package com.wiz.common;

/**
 * 服务器常量定义
 */
public interface Constant {
	final String DES3_ENCRYPT_KEY="";
	final String PAY_KEY = "";
	
	/**
	 * -------------微-------------信-------------------相----------------------关--------------------
	 */
	final String TRADE_TYPE_JSAPI="JSAPI";
	final String TRADE_TYPE_NATIVE="NATIVE";
	final String TRADE_TYPE_APP="APP";
	
	final String WEB_PAY_NOTIFY_URL="http://114.55.60.160:10099/pay/wx/notify/";
//	final String WEB_PAY_NOTIFY_URL="http://112.124.29.201:8080/pay/wx/notify/";
	
	final String LOCAL_IP="114.55.60.160";
//	final String LOCAL_IP="112.124.29.201";
	
	final String WX_BAR_PAY = "https://api.mch.weixin.qq.com/pay/micropay";//条码支持
	final String WX_BAR_ORDER_SEARCH = "https://api.mch.weixin.qq.com/pay/orderquery";//条码支付订单查询
	final String WX_BAR_REFUND = "https://api.mch.weixin.qq.com/secapi/pay/refund";//条码退款
	final String WX_BAR_REVERSE = "https://api.mch.weixin.qq.com/secapi/pay/reverse";//条码支付取消
	final String WX_UNIFIED_ORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder";//web支付，统一下单
	final String WX_WX_CLOSE_WEB = "https://api.mch.weixin.qq.com/pay/closeorder";//关闭web订单
	
	final String WX_RETURN_CODE_SUCCESS = "SUCCESS";//成功
	final String WX_RETURN_CODE_PAYERROR = "PAYERROR";//支付失败
	final String WX_RETURN_CODE_NOTPAY = "NOTPAY";//无需/取消支付
	final String WX_RETURN_CODE_REFUND = "REFUND";//无需/取消支付
	final String WX_RETURN_CODE_SYSTEMERROR = "SYSTEMERROR";
	final String WX_RETURN_CODE_USERPAYING = "USERPAYING";//用户支付中，需要输入密码
	
	/**
	 * -------------万-------------集-------------------相----------------------关--------------------
	 */
	final String WJ_IP = "123.56.253.122:8200";
	final String WJ_BAR_PAY = "/spend/consume";//条码支持
	final String WJ_BAR_ORDER_SEARCH = "/spend/orderstatus";//条码支付订单查询
	final String WJ_BAR_REVERSE = "/spend/reverse";//条码支付取消
	
	final Integer WJ_RETURN_CODE_SUCCESS = 0;//成功
	final Integer WJ_RETURN_CODE_PROCCESS = 23;//交易正在处理
	final Integer WJ_TRADE_CODE_SUCCESS = 30;//交易成功
	final Integer WJ_TRADE_CODE_UNPAID = 10;//未支付
	final Integer WJ_TRADE_CODE_REFUND = 40;//已退款
	final Integer WJ_TRADE_CODE_CLOSE = 70;//订单关闭
	
	/**
	 * -------------莱-------------米-------------------相----------------------关--------------------
	 */
	final String LAMIC_IP = "www.lamic.cn";
	final String LAMIC_LOGIN = "/port/pay/login";//条码支持
	final String LAMIC_ENCRYPT = "/port/pay/encrypt";//加密接口
	final String LAMIC_ENCRYPT_PARAMS = "/port/pay/encrypts";//多参数加密接口
	final String LAMIC_BAR_PAY = "/port/pay/smartScan";//条码支持
	final String LAMIC_BAR_ORDER_SEARCH = "/port/pay/mverify";//条码支付订单查询
	final String LAMIC_BAR_REVERSE = "/port/pay/cancelorder";//条码支付取消
	
	final String LAMIC_RETURN_CODE_SUCCESS = "success";//成功
	final String LAMIC_TRADE_CODE_SUCCESS = "true";//成功
	
	/**
	 * -------------讯-------------联-------------------相----------------------关--------------------
	 */	
	final String XL_IP="https://showmoney.cn/scanpay/unified";
	
	final String XL_RETURN_CODE_SUCCESS = "00";//成功
	final String XL_RETURN_CODE_PROCCESS = "09";//处理中
	
	/**
	 * -------------远-------------程-------------------调----------------------用--------------------
	 */
	final String CENTER_URL="112.124.29.201/center";
	final String CENTER_CHARGE_URI="/api/charge";
}
